<!DOCTYPE html>
<html>
<meta charset="utf-8">
<link rel="shortcut icon" href="../../../static/favicon.ico">
<link rel="stylesheet" href="../../../static/css/bootstrap.min.css" />
<link rel="stylesheet" href="../../../static/css/animate.css" />
<link rel="stylesheet" href="../../../static/css/font-awesome.css" />
<link rel="stylesheet" href="../../../static/css/style.css" />
<link rel="stylesheet" href="../../../static/css/plugins/iCheck/custom.css" />
<link rel="stylesheet" href="../../../static/css/plugins/cropper/cropper.css" />
<link rel="stylesheet" href="../../../static/css/gg-bootdo.css" />
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${template.id}"
							   class="form-control" type="hidden">
						<div class="form-group">
							<label class="col-sm-3 control-label">模板名称：</label>
							<div class="col-sm-6">
								<input id="name" name="name" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">资产类型：</label>
							<div class="col-sm-6">
								<input id="categoryId" name="categoryId" class="hidden">
								<input id="categoryName" name="categoryName" class="form-control" type="text"
									   style="cursor: pointer;" onclick="openCategoryPopWin('categoryId','categoryName')"
									   readonly="readonly" placeholder="点击选择资产类型">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">描述：</label>
							<div class="col-sm-6">
								<textarea style="resize: none;" cols="30" rows="10" id="description" name="remarks" th:value="${description}" class="form-control"></textarea>
							</div>
						</div>

						<hr>
						<div class="col-sm-12">
							<h3 class="pull-left">巡检信息</h3>
							<div class="pull-right m-l">
								<span class="btn btn-primary temDel">删除</span>
							</div>
							<div class="pull-right">
								<span class="btn btn-primary temAdd">添加</span>
							</div>

						</div>

						<hr class="col-sm-12 no-margins">


						<div class="col-sm-12 m-t table_div">
							<table class="table table-bordered text-center">
								<tr class="row mx-0">
									<td class="col-sm-1">
										<input type="checkbox" class="checkedAll">
									</td>
									<td class="col-sm-1">巡检项</td>
									<td class="col-sm-1">运行值</td>
									<td class="col-sm-2">提示信息</td>
									<td class="col-sm-2">指标类型</td>
									<td class="col-sm-1">是否人工核查</td>
									<td class="col-sm-2">运行状态</td>
									<td class="col-sm-1">故障原因</td>
									<td class="col-sm-1">故障等级</td>
								</tr>
								<tr class="row mx-0 templateMes">
									<td class="col-sm-1">
										<input type="checkbox" class="checkedPro">
									</td>
									<td class="col-sm-1">
										<input class="form-control input-sm inter_input name" type="text" name="templateItemDOList[0].name" data-index="0name">
									</td>
									<td class="col-sm-1">
										<input class="form-control input-sm inter_input defaultValue" type="text" name="templateItemDOList[0].defaultValue" data-index="0defaultValue">
									</td>
									<td class="col-sm-2">
										<input class="form-control input-sm inter_input toolTip" type="text" name="templateItemDOList[0].toolTip" data-index="0toolTip">
									</td>
									<td class="col-sm-2">
										<select class="form-control input-sm inter_input type" name="templateItemDOList[0].type" data-index="0type">
											<option value="1">需要输入运行值</option>
											<option value="0">不需要输入运行值</option>
										</select>
									</td>
									<td class="col-sm-1">
										<lable>是</lable>
										<input type="radio" name="isSafe">
										<lable>否</lable>
										<input type="radio" name="isSafe">
									</td>
									<td class="col-sm-2">
										<lable>正常</lable>
										<input type="radio" name="isNomal">
										<lable>异常</lable>
										<input type="radio" name="isNomal">
									</td>
									<td class="col-sm-1">
										<input class="form-control input-sm" type="text" name="">
									</td>
									<td class="col-sm-1">
										<select class="form-control input-sm" name="" id="">
											<option value="">一级</option>
										</select>
									</td>
								</tr>
							</table>
						</div>

						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="submit" class="btn btn-primary">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<div th:include="include::footer"></div>
<script src="../../../static/js/public.js"></script>
<script src="../../../static/js/jquery.min.js?v=2.1.4"></script>
<script src="../../../static/js/bootstrap.min.js?v=3.3.6"></script>
<script src="../../../static/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="../../../static/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script
		src="../../../static/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="../../../static/js/plugins/validate/jquery.validate.min.js"></script>
<script src="../../../static/js/plugins/validate/messages_zh.min.js"></script>
<script src="../../../static/js/plugins/jsTree/jstree.min.js"></script>
<script src="../../../static/js/plugins/jqTreeGrid/jquery.treegrid.min.js"></script>
<script src="../../../static/js/plugins/jqTreeGrid/jquery.treegrid.extension.js"></script>
<script src="../../../static/js/plugins/jqTreeGrid/jquery.treegrid.bootstrap3.js"></script>
<script src="../../../static/js/plugins/chosen/chosen.jquery.js"></script>
<script src="../../../static/js/plugins/layer/layer.js"></script>
<script src="../../../static/js/content.js?v=1.0.0"></script>
<!--summernote-->
<script src="../../../static/js/plugins/summernote/summernote.js"></script>
<script src="../../../static/js/plugins/summernote/summernote-zh-CN.min.js"></script>
<script src="../../../static/js/ajax-util.js"></script>
<script type="text/javascript" src="../../../static/js/appjs/ins/template/edit.js">
</script>
</body>
</html>
